package com.ruoyi.education.domain;

import org.apache.ibatis.type.Alias;
import com.ruoyi.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.util.Date;

@Alias("EducationActivity")
public class Activity extends BaseEntity {
    private static final long serialVersionUID = 1L;

    private Long activityId;
    private String title;
    private Long categoryId;
    private String description;
    private Date startTime;
    private Date endTime;
    private Date signupStartTime;
    private Date signupEndTime;
    private String location;
    private Integer maxParticipants;
    private Double creditValue;
    private String organizer;
    private String contactPerson;
    private String contactPhone;
    private Long teacherId;
    private String status;

    public Long getActivityId() {
        return activityId;
    }

    public void setActivityId(Long activityId) {
        this.activityId = activityId;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public Long getCategoryId() {
        return categoryId;
    }

    public void setCategoryId(Long categoryId) {
        this.categoryId = categoryId;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public Date getStartTime() {
        return startTime;
    }

    public void setStartTime(Date startTime) {
        this.startTime = startTime;
    }

    public Date getEndTime() {
        return endTime;
    }

    public void setEndTime(Date endTime) {
        this.endTime = endTime;
    }

    public Date getSignupStartTime() {
        return signupStartTime;
    }

    public void setSignupStartTime(Date signupStartTime) {
        this.signupStartTime = signupStartTime;
    }

    public Date getSignupEndTime() {
        return signupEndTime;
    }

    public void setSignupEndTime(Date signupEndTime) {
        this.signupEndTime = signupEndTime;
    }

    public String getLocation() {
        return location;
    }

    public void setLocation(String location) {
        this.location = location;
    }

    public Integer getMaxParticipants() {
        return maxParticipants;
    }

    public void setMaxParticipants(Integer maxParticipants) {
        this.maxParticipants = maxParticipants;
    }

    public Double getCreditValue() {
        return creditValue;
    }

    public void setCreditValue(Double creditValue) {
        this.creditValue = creditValue;
    }

    public String getOrganizer() {
        return organizer;
    }

    public void setOrganizer(String organizer) {
        this.organizer = organizer;
    }

    public String getContactPerson() {
        return contactPerson;
    }

    public void setContactPerson(String contactPerson) {
        this.contactPerson = contactPerson;
    }

    public String getContactPhone() {
        return contactPhone;
    }

    public void setContactPhone(String contactPhone) {
        this.contactPhone = contactPhone;
    }

    public Long getTeacherId() {
        return teacherId;
    }

    public void setTeacherId(Long teacherId) {
        this.teacherId = teacherId;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("activityId", getActivityId())
                .append("title", getTitle())
                .append("categoryId", getCategoryId())
                .append("description", getDescription())
                .append("startTime", getStartTime())
                .append("endTime", getEndTime())
                .append("signupStartTime", getSignupStartTime())
                .append("signupEndTime", getSignupEndTime())
                .append("location", getLocation())
                .append("maxParticipants", getMaxParticipants())
                .append("creditValue", getCreditValue())
                .append("organizer", getOrganizer())
                .append("contactPerson", getContactPerson())
                .append("contactPhone", getContactPhone())
                .append("teacherId", getTeacherId())
                .append("status", getStatus())
                .append("createBy", getCreateBy())
                .append("createTime", getCreateTime())
                .append("updateBy", getUpdateBy())
                .append("updateTime", getUpdateTime())
                .append("remark", getRemark())
                .toString();
    }
} 